How the diesel engine works